<?php include PATH_VIEW . 'gongyong.php'; ?>
<title>添加菜单 - 后台管理</title>

<div class="all_main">
    <div class="module_right">
        <dl>
            <dt>操作说明 
            <a href="#" onclick="dianji(17)">[关闭/展开]</a>
            </dt>
            <dd id="bb17" style="margin-left: 3px;color: red;">以下的菜单名称及排序选项为必填项。</dd>
        </dl>
    </div>
    <div class="module_right_bottom">
        <dl>
            <dt>修改个人信息</dt>
            <dd>
                <table border="0" cellpadding="0" cellspacing="0" width="100%" class="table">
                    <form name="form1" method="post" onsubmit="return checkAddUser()">
                        <tr>
                            <td align="right">账户名</td>
                            <td>
                                <input type="text" name="Faccount" id="Faccount" value="" class="width200" ysp_is_null="0" ysp_type="en_num" ysp_length="4|32" />
                            </td>
                            <td class="last">
                                <span id="FaccountYspMsg" class="font_gray">账户在数据表中必须是唯一的，不能重复，只能填字母或数字，字符长度：4-32个</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">登录密码</td>
                            <td>
                                <input type="password" name="Fpassword" id="Fpassword" value="" class="width200" ysp_is_null="0" ysp_type="password" ysp_compare="Fpassword|Fpassword2" ysp_length="2|16" />
                            </td>
                            <td class="last">
                                <span id="FpasswordYspMsg" class="font_gray">登录密码必须和重复密码保持一致，字符长度：2-16个</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">重复密码</td>
                            <td>
                                <input type="password" name="Fpassword2" id="Fpassword2" value="" class="width200" ysp_is_null="0" ysp_type="password" ysp_compare="Fpassword|Fpassword2" ysp_length="2|16" />
                            </td>
                            <td class="last">
                                <span id="Fpassword2YspMsg" class="font_gray">登录密码必须和重复密码保持一致，字符长度：2-16个</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">姓名</td>
                            <td>
                                <input type="text" name="Fname" id="Fname" value="" class="width200" ysp_is_null="0" ysp_type="not" ysp_length="2|16" />
                            </td>
                            <td class="last">
                                <span id="FnameYspMsg" class="font_gray">真实姓名</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">性别</td>
                            <td>
                                <select name="Fsex">
                                    <option value="0">未设置</option>
                                    <option value="1">男</option>
                                    <option value="2">女</option>
                                </select>
                            </td>
                            <td class="last">
                                <span id="FsexYspMsg" class="font_gray">请选择</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" width="120">所属后台菜单组</td>
                            <td class="last" colspan="2">
                                <?php
                                foreach ($menu_level as $key => $ls) {
                                    ?>
                                <label><input style="width: 13px;height: 13px;" type="checkbox" name="FmenuLevel[]" value="<?php echo $ls['Fid']; ?>" /><?php echo $ls['Fname']; ?></label>
                                    <?php
                                }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">所属特殊权限组</td>
                            <td class="last" colspan="2">
                                <?php
                                foreach ($user_level as $key => $ls) {
                                    ?>
                                    <label><input style="width: 13px;height: 13px;" type="checkbox" name="FuserLevel[]" value="<?php echo $ls['Fid']; ?>" /><?php echo $ls['Fname']; ?></label>
                                    <?php
                                }
                                ?>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">邮箱</td>
                            <td>
                                <input type="text" name="Femail" id="Femail" value="" class="width200" ysp_is_null="0" ysp_length="2|128" />
                            </td>
                            <td class="last">
                                <span id="FemailYspMsg" class="font_gray">请填写正确的邮箱格式</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">QQ</td>
                            <td>
                                <input type="text" name="Fqq" id="Fqq" value="" class="width200" ysp_type="qq" ysp_length="5|13" />
                            </td>
                            <td class="last">
                                <span id="FqqYspMsg" class="font_gray">请填写正确的QQ号码</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">手机号码</td>
                            <td>
                                <input type="text" name="Fmobile" id="Fmobile" value="" class="width200" ysp_type="mobile" ysp_length="2|16" />
                            </td>
                            <td class="last">
                                <span id="FmobileYspMsg" class="font_gray">请填写正确的手机号码</span>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">固定电话</td>
                            <td>
                                <input type="text" name="Ftel" id="Ftel" value="" class="width200" ysp_type="tel" ysp_length="7|13" />
                            </td>
                            <td class="last">
                                <span id="FtelYspMsg" class="font_gray">请填写正确的固定电话</span>
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td width="230">
                                <input type="submit" class="queren" name="ok" value="确认提交" />
                                <input type="button" class="fanhui" name="ok" value="返回" onclick="location.href = '<?php echo str_replace('&way=A', '&way=S', URL); ?>'" />
                            </td>
                        </tr>
                    </form>
                </table>

            </dd>
        </dl>
    </div>
</div>

